package com.qiyadeng.core;

public enum NewEnum {
	 PLUS   { double eval(double x, double y) { return x + y; } },
	 MINUS  { double eval(double x, double y) { return x - y; } },
	 TIMES  { double eval(double x, double y) { return x * y; } },
	 DIVIDE { double eval(double x, double y) { return x / y; } };

	abstract double eval(double x, double y);
}
